<html>
<head>
	<script src="../js/dojo/dojo.js"></script>
	<script src="../js/dair/Aliases.js"></script>
	<script type="text/javascript">
		dojo.require("dair.Application");
		dojo.addOnLoad(function(){
		
			var myApp = new dair.Application();
			
			myApp.storage.put("someToken", {
				akey:"avalue",
				anotherKey:{
					deep:"anothervalue"
				}
			});
			
			air.trace('set it');
			
			var foo = myApp.storage.get("someToken");
			air.trace('got', foo.akey, foo.anotherKey.deep);
			
		});
	</script>
</head>
<body>
	<h1>Sample</h1>
	
	<button id="cascade">cascade</button>
	<button id="shutdown">shutdown</button>
	
</body>
</html>